import request from "@/utils/request.js";

// 获取单位执法档案汇总头部内容
export const getUnitRegisterTableHead = () => {
    return request({
        method: 'post',
        url: '/stat/sendPolice/UnitTaskHeader',
        data: {},
        isEncrypt: false
    });
}

// 获取单位执法档案汇总数据内容
export const getUnitRegisterTableData = (data) => {
    return request({
        method: 'post',
        url: '/stat/sendPolice/UnitTask',
        data: data,
        isEncrypt: false
    });
}